package com.mes.bac.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat; // 新增导入
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("wkproc")
public class Wkproc {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;

    /**
     * 添加JsonFormat注解
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}